package com.rainbow.gwt.accounting.server.pojo;

import java.util.Date;
/**
 * 
 * @author rainbow
 * @hibernate.class table="loan"
 */
public class Loan {
	private Long id;
	private Double amount;
	private String borrower;
	private Date boDate;
	private Date expectRepayDate;
	private String description;
	/**
	 * @hibernate.id generator-class="native"
	 * @hibernate.column name="id"
	 */
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @hibernate.property column="amount" type="java.lang.Double"
	 *                     not-null="true"
	 */
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * @hibernate.property column="borrower" type="java.lang.String" length="32"
	 *                     not-null="true"
	 */
	public String getBorrower() {
		return borrower;
	}
	public void setBorrower(String borrower) {
		this.borrower = borrower;
	}
	/**
	 * @hibernate.property column="bo_date" type="java.util.Date"
	 */
	public Date getBoDate() {
		return boDate;
	}
	public void setBoDate(Date boDate) {
		this.boDate = boDate;
	}
	/**
	 * @hibernate.property column="expect_repay_date" type="java.util.Date"
	 */
	public Date getExpectRepayDate() {
		return expectRepayDate;
	}
	public void setExpectRepayDate(Date expectRepayDate) {
		this.expectRepayDate = expectRepayDate;
	}
	/**
	 * @hibernate.property column="description" type="java.lang.String" length="32"
	 */
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
}
